// 引入重置样式表
require("../../assets/css/reset.css");
// 引入常态化样式
require("../../assets/css/normalize.css");
// 引入adv的样式
require("./ad.css");
window.addEventListener("DOMContentLoaded", function () {
	// 给btn1绑定倒计时
	const tmbtnNode = document.querySelector(".tmbtn");
	const addtimer = window.setInterval(function () {
		const toSetCount = tmbtnNode.textContent - 1;
		tmbtnNode.textContent = toSetCount;
		if (toSetCount === 0) {
			window.clearInterval(addtimer);
			window.location.href = "login.html";
		}
	}, 1000);
});
